import QtQuick 1.0

/**
 * Simple demonstration on how to use PersistentObject
 */

Rectangle {
	width: 300
	height: 300

	PersistentObject {
		id: simpleObject
		property string someText: "initial text"
	}

	TextInput {
		text: simpleObject.someText
		onTextChanged: simpleObject.someText = text
	}
}
